home *** CD-ROM | disk | FTP | other *** search
- Path: Flex058.dBH.WAU.NL!joop.vandeWege
- From: joop.vandeWege@medew.ento.wau.nl (Joop van de Wege)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: 3 bugs in SAS/C v. 6.56
- Date: Mon, 26 Feb 1996 13:38:10 LOCAL
- Organization: ento
- Message-ID: <joop.vandeWege.554.000ADBEF@medew.ento.wau.nl>
- References: <4gjvvc$a3t@gjallar.daimi.aau.dk>
- NNTP-Posting-Host: flex058.dbh.wau.nl
- Keywords: SAS/C,bug
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4]
-
- In article <4gjvvc$a3t@gjallar.daimi.aau.dk> liborius@daimi.aau.dk (Per Liboriussen) writes:
- >From: liborius@daimi.aau.dk (Per Liboriussen)
- >Subject: 3 bugs in SAS/C v. 6.56
- >Date: 23 Feb 1996 09:04:44 GMT
- >Keywords: SAS/C,bug
-
- >I have found 3 bugs in SAS/C version 6.56: Two cases of generating bad code,
- >and one case of refusing to compile a correct program. Below are descriptions
- >of the problems, including the smallest programs I have been able to find
- >which shows the bugs, and the commandlines used to compile. Hopefully someone
- >from SAS reads this (and puts out a 6.57 patch ;-) ).
-
- [Examples deleted]
-
- I tried the 3 examples with lcc and both 1 and 2 are compiled correctly. No
- warning, no errors and example one prints 'ok'.
-
- >This one might actually be less of a bug than the two other, because I think
- >the code in the example is broken. By providing a prototype for foo() and then
- >defining it old-style with a float argument, I believe it invokes undefined
- >behaviour.
- LCC quits with an error which says something like:
- redeclaration of ...(), previous on in line 1
-
- I don't know what the standard says about mixing new and old style
- declarations, but I like the error message better then broken code generation
- :)
-
- Joop
-
-
-
- >--
- >Per Liboriussen
- >liborius@daimi.aau.dk
-
-
-